package org.soarsky.wealthchengdu.google.map;



import android.graphics.drawable.Drawable;

public interface MapOverlaysBaseInterface {
	public void addMark(int id,double latitude,double longitude ,Drawable icon);//添加标记点
	public void setMark (int id,double latitude,double longitude,Drawable icon);//修改标记
	public void setMark (int id,Drawable icon);//修改标记
	public MarkPoint getMrak (int id);//查询标记点 返回一个MarkOverlay
	public void deleteMark (int id);//删除标记点
	public void disableMarkAll ();//隐藏标记
	public void enableMarkAll ();//显示标记
	public void animateToMark(int id); 
	public void animateToMark(int id,int x, int y); 
	public void setCenterMark(int id);
	public void setCenterMark(int id,int x, int y);
	public void setOnFocusMark(int id);
	public boolean getOnFocusMark();
	public void setOnTapCallBackMark(OverlayCallBack callBack);
	public void clearMarks ();//清楚标记点
	
	public void locationChange(LocationPoint loc);//位置改变
	public void locationChange(LocationPoint location,boolean isInvalidate);
	public void animateToLocation(); 
	public void animateToLocation(int x, int y); 
	public void setCenterLocation();
	public void setCenterLocation(int x, int y);
	public void setOnFocusLocation();
	public boolean getOnFocusLocation();
	public void disableLocation();//隐藏我的位置
	public void enableLocation();//显示我的
	public void setLocationtBearing(float bearing);
	public void setOnTapCallBackLocation(OverlayCallBack callBack);
	
	public void addLinePoint(int id,double latitude,double longitude);//添加路线点
	public void createLine( int id,double latitude,double longitude);//创建一条新路线
	public void deleteLine(int id);//删除一条路线
	public void disableLine(int id);//隐藏
	public void enableLine(int id);//显示
	public void clearLines();//清除路线
	public void setOnTapCallBackLine(OverlayCallBack callBack);
	public void destroy();

}
